package varton.lazy.safe;

public class Wife3 {
    private Wife3(){

    }
    private static class WifeBuilder{
        private static Wife3 wife = new Wife3();
    }

    public static Wife3 newInstance(){
        return WifeBuilder.wife;
    }

    public void haveBaby(){
        System.out.println("能生娃。。。");
    }
}
